
package com.jf.cloud.api.user.dto;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotBlank;

/**
 * @author zz
 * @date 2020/12/30
 */
@Schema(description = "设置用户信息")
public class UserRegisterDTO {

    @Schema(description = "密码" )
    private String password;

    @NotBlank
    @Schema(description = "手机号" )
    private String mobile;

    @Schema(description = "tempUid" )
    private String tempUid;

    @Schema(description = "校验登陆注册验证码成功的标识" )
    private String checkRegisterSmsFlag;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCheckRegisterSmsFlag() {
        return checkRegisterSmsFlag;
    }

    public void setCheckRegisterSmsFlag(String checkRegisterSmsFlag) {
        this.checkRegisterSmsFlag = checkRegisterSmsFlag;
    }

    public String getTempUid() {
        return tempUid;
    }

    public void setTempUid(String tempUid) {
        this.tempUid = tempUid;
    }

    @Override
    public String toString() {
        return "UserRegisterDTO{" +
                "password='" + password + '\'' +
                ", mobile='" + mobile + '\'' +
                ", tempUid='" + tempUid + '\'' +
                ", checkRegisterSmsFlag='" + checkRegisterSmsFlag + '\'' +
                '}';
    }
}
